const express = require('express')
const app = express()

// 1.导入路由模块
const router = require('./router/router')
// 2.注册路由模块
app.use(router)

// 服务器~启动~~
app.listen(80 , ()=>{
    console.log('http://127.0.0.1')
})